<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "{{%lottery_setting}}".
 *
 * @property integer $id
 * @property integer $store_id
 * @property string $rule
 * @property string $title
 * @property string $type
 */
class PurchaseGoods extends \yii\db\ActiveRecord
{
	public $model;
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%purchase_goods}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['store_id'], 'integer'],
        ];
    }
	
    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'store_id' => 'Store ID',
        ];
    }
}
